package com.xpheng.dev.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.xpheng.common.mybatis.domain.CommonEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 定时任务
 * </p>
 *
 * @author xpheng
 * @since 2024-08-21
 */
@Getter
@Setter
@TableName("DEV_JOB")
public class DevJob extends CommonEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.NONE)
    private String id;

    /**
     * 名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 编码
     */
    @TableField("CODE")
    private String code;

    /**
     * 分类
     */
    @TableField("CATEGORY")
    private String category;

    /**
     * 任务类名
     */
    @TableField("ACTION_CLASS")
    private String actionClass;

    /**
     * cron表达式
     */
    @TableField("CRON_EXPRESSION")
    private String cronExpression;

    /**
     * 任务状态
     */
    @TableField("JOB_STATUS")
    private String jobStatus;

    /**
     * 排序码
     */
    @TableField("SORT_CODE")
    private Integer sortCode;

    /**
     * 扩展信息
     */
    @TableField("EXT_JSON")
    private String extJson;



}
